/** 
 * @Company: 北京慧点科技有限公司 | www.smartdot.com.cn
 * @Copyright 1998-2022 © Smartdot Technologies Co., Ltd.
 */
package com.hd.rcugrc.project.leaveapplication.annualleave.bean;

import java.io.Serializable;
import com.hd.rcugrc.bpm.Operator;
import com.hd.wep.extend.common.bean.WeBaseBean;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 年假维护-实体对象 - 由代码生成器生成
 * 
 * @class: OaOfficeAnnualLeaveBean
 * @date 2024-07-26 16:12:53
 * @author smartdot
 * @version 1.0 - 2024-07-26 16:12:53
 * @see
 */
public class OaOfficeAnnualLeaveBean extends WeBaseBean implements Serializable {
    /**
     * 序列化ID
     */
    private static final long serialVersionUID = -1619229014129562423L;
    

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户名
     */
    private Operator[] njwhYhm;

    /**
     * 年份
     */
    private Integer njwhNf;

    /**
     * 应有年假
     */
    private Integer njwhYynj1;

    /**
     * 已用年假
     */
    private Integer njwhYynj2;

    /**
     * 剩余年假
     */
    private Integer njwhSynj;

    /**
     * 被锁定年假
     */
    private Integer njwhBsdnj;

    /**
     * 当前状态
     */
    private String njwhDqzt;
    
    public OaOfficeAnnualLeaveBean() {
        super();
    }
    
    public OaOfficeAnnualLeaveBean(OaOfficeAnnualLeaveBean bean) {
        super(bean);
        this.id = bean.getId();
        this.njwhNf = bean.getNjwhNf();
        this.njwhYynj1 = bean.getNjwhYynj1();
        this.njwhYynj2 = bean.getNjwhYynj2();
        this.njwhSynj = bean.getNjwhSynj();
        this.njwhBsdnj = bean.getNjwhBsdnj();
        this.njwhDqzt = bean.getNjwhDqzt();
    }


    /**
     * 获取主键
     * 
     * @return id
     */
    @Schema(title = "主键", description = "主键", example = "主键")
    public Long getId() {
        return id;
    }
    
    /**
     * 设置主键
     * 
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }


    /**
     * 获取用户名
     *
     * @return njwhYhm
     */
    @Schema(title = "用户名", description = "用户名", example = "用户名")
    public Operator[] getNjwhYhm() {
        return njwhYhm;
    }

    /**
     * 设置用户名
     *
     * @param njwhYhm
     */
    public void setNjwhYhm(Operator[] njwhYhm) {
        this.njwhYhm = njwhYhm;
    }


    /**
     * 获取年份
     * 
     * @return njwhNf
     */
    @Schema(title = "年份", description = "年份", example = "年份")
    public Integer getNjwhNf() {
        return njwhNf;
    }
    
    /**
     * 设置年份
     * 
     * @param njwhNf
     */
    public void setNjwhNf(Integer njwhNf) {
        this.njwhNf = njwhNf;
    }


    /**
     * 获取应有年假
     * 
     * @return njwhYynj1
     */
    @Schema(title = "应有年假", description = "应有年假", example = "应有年假")
    public Integer getNjwhYynj1() {
        return njwhYynj1;
    }
    
    /**
     * 设置应有年假
     * 
     * @param njwhYynj1
     */
    public void setNjwhYynj1(Integer njwhYynj1) {
        this.njwhYynj1 = njwhYynj1;
    }


    /**
     * 获取已用年假
     * 
     * @return njwhYynj2
     */
    @Schema(title = "已用年假", description = "已用年假", example = "已用年假")
    public Integer getNjwhYynj2() {
        return njwhYynj2;
    }
    
    /**
     * 设置已用年假
     * 
     * @param njwhYynj2
     */
    public void setNjwhYynj2(Integer njwhYynj2) {
        this.njwhYynj2 = njwhYynj2;
    }


    /**
     * 获取剩余年假
     * 
     * @return njwhSynj
     */
    @Schema(title = "剩余年假", description = "剩余年假", example = "剩余年假")
    public Integer getNjwhSynj() {
        return njwhSynj;
    }
    
    /**
     * 设置剩余年假
     * 
     * @param njwhSynj
     */
    public void setNjwhSynj(Integer njwhSynj) {
        this.njwhSynj = njwhSynj;
    }


    /**
     * 获取被锁定年假
     * 
     * @return njwhBsdnj
     */
    @Schema(title = "被锁定年假", description = "被锁定年假", example = "被锁定年假")
    public Integer getNjwhBsdnj() {
        return njwhBsdnj;
    }
    
    /**
     * 设置被锁定年假
     * 
     * @param njwhBsdnj
     */
    public void setNjwhBsdnj(Integer njwhBsdnj) {
        this.njwhBsdnj = njwhBsdnj;
    }


    /**
     * 获取当前状态
     * 
     * @return njwhDqzt
     */
    @Schema(title = "当前状态", description = "当前状态", example = "当前状态")
    public String getNjwhDqzt() {
        return njwhDqzt;
    }
    
    /**
     * 设置当前状态
     * 
     * @param njwhDqzt
     */
    public void setNjwhDqzt(String njwhDqzt) {
        this.njwhDqzt = njwhDqzt;
    }
}
